import {BrowserModule} from '@angular/platform-browser';
import { NgModule} from '@angular/core';

import {AppComponent} from './app.component';
import {AppRoutingModule} from "./routes/app-routing.module";
import {CoreModule} from "./core/core.module";
import {SharedModule} from "./shared/shared.module";
import { HeaderComponent } from './layouts/header/header.component';
import { FooterComponent } from './layouts/footer/footer.component';
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
import { LsidebarComponent } from './layouts/lsidebar/lsidebar.component';
import { RsidebarComponent } from './layouts/rsidebar/rsidebar.component';
import {HttpClientModule} from "@angular/common/http";
import { ArticleComponent } from './pages/article/article.component';
import {MarkdownModule, MarkdownService, MarkedOptions} from "ngx-markdown";


@NgModule({
    declarations: [
        AppComponent,
        HeaderComponent,
        FooterComponent,
        LsidebarComponent,
        RsidebarComponent,
        ArticleComponent
    ],
    imports: [
        BrowserModule,
        CoreModule,
        SharedModule,
        AppRoutingModule,
        BrowserAnimationsModule,
        HttpClientModule,
        MarkdownModule,


    ],
    providers: [
        MarkdownService,
        MarkedOptions,
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
